import styled from "styled-components";

export const ScrollWrapper = styled.div`
  position: relative;
  padding: 8px 0;
    .scroll {
      overflow: hidden;
      .scroll-content {
        display: flex;
        flex-wrap: nowrap;
        /* overflow: hidden; */
        transition: transform 250ms ease;
      }
    }
    .left, .right {
      width: 60px;
      height: 100%;
      position: absolute;
      top: 0;
      display: flex;
      align-items: center;
      z-index: 1;
      /* top: 50%; */
      /* margin-top: -15px; */
      .icon {
        position: absolute;
        width: 30px;
        height: 30px;
        background-color: white;
        line-height: 30px;
        text-align: center;
        /* padding: 4px; */
        border-radius: 50%;
        box-shadow: 0px 4px 5px 0px rgba(0, 0, 0, .25);
        cursor: pointer;
      }
    }
    .left {
      position: absolute;
      left: -15px;
      background: linear-gradient(to right, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
    }
    .right {
      position: absolute;
      right: -15px;
      justify-content: flex-end;
      background: linear-gradient(to left, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
    }

`